package com.jimmy.medical.service;

import com.jimmy.medical.entity.FlowOrder;
import com.jimmy.medical.entity.Message;
import com.jimmy.medical.entity.PhoneCall;
import com.jimmy.medical.entity.TakeNumRecord;


/**
 * 取号工单Service
 * @author jimmy
 */
public interface ITakeFlowOrderService extends IFlowOrderService {

    Long saveAcceptInfo(Long flowOrderId, Long userId);

    Long saveNoticeInfo(PhoneCall call);

    Long saveMessageFlow(Message message);

    Long saveAppearance(Long flowOrderId, Long userId, Long photoId);

    Long saveFeeProcess(Long flowOrderId, Long userId);

    Long saveTakeNoInfo(Long flowOrderId, Long userId, String content);

    Long saveTakeNoInfo(Long flowOrderId, Long userId, String content, boolean processFlow);

    TakeNumRecord getTakeNumRecord(Long flowOrderId);

    FlowOrder submitTake(Long flowOrderId, Long userId);
}
